package com.shangjinrong.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shangjinrong.domain.Lend;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Naruto
 */
@Mapper
public interface LendMapper extends BaseMapper<Lend> {


    /**
     * 标的分页
     *
     * @param page 分页对象
     * @param search 搜索条件
     * @return 包含分页数据的分页对象
     */
    IPage<Lend> selectPage(IPage<Lend> page,@Param("search") String search);
}